<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ include file="/WEB-INF/view/common/includes.jsp" %>
<%@ include file="/WEB-INF/view/inc.jsp" %>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<style>
    .panel-body {
        border-bottom-width: 0px;
        border-left-width: 0px;
    }

    .layout-expand .panel-header {
        border-width: 0px;
    }

</style>
<body class="easyui-layout" data-options="fit:true,border:false">
<!-- 搜索框 -->
<div data-options="region:'north',title:'查询条件',border:false"   class="north_form_2">
    <form id="searchForm">
        <div class="fitem fl">
            <label>姓名:</label>
            <input name="name" class="easyui-textbox input_class">
        </div>
         <div class="fitem fl">
            <label>姓名:</label>
            <input name="name" class="easyui-textbox input_class">
        </div>
         <div class="fitem fl">
            <label>姓名:</label>
            <input name="name" class="easyui-textbox input_class">
        </div>
         <div class="fitem fl">
            <label>姓名:</label>
            <input name="name" class="easyui-textbox input_class">
        </div>
                 <div class="fitem fl">
            <label>姓名:</label>
            <input name="name" class="easyui-textbox input_class">
        </div>
                 <div class="fitem fl">
            <label>姓名:</label>
            <input name="name" class="easyui-textbox input_class">
        </div>
        <div class="fitem searchItem fr">
            <a class="easyui-linkbutton" iconCls="icon-search" onclick="sy_searchFun()">搜索</a>
            <a class="easyui-linkbutton" iconCls="icon-reload" onclick="sy_resetFun()">重置</a>
        </div>
    </form>
</div>
<div data-options="region:'center',border:false">
    <table id="grid" class="easyui-datagrid" fit="true"
           data-options="url: '<%=contextPath%>/demo/list',method: 'post',pagination: true,rownumbers:true,idField: 'id', fitColumns:true,singleSelect:true,striped:true,sortName:'createTime',sortOrder:'desc',toolbar: '#toolbar'">
        <thead>
        <tr>
            <th data-options="field:'name'" width="100" sortable="true">姓名</th>
            <th data-options="field:'age'" width="100" sortable="true">年龄</th>
        </tr>
        </thead>
    </table>
</div>
<!-- 按钮-->
<div id="toolbar" style="display: none;">
    <t:button action="demo_add" iconCls="icon-add" buttonName="新增" onclick="sy_addFun('/demo/toSaveAndUpdate/','添加Demo信息')"/>
    <t:button action="demo_edit" iconCls="icon-edit" buttonName="编辑" onclick="sy_editFun('/demo/toSaveAndUpdate/','修改Demo信息')"/>
    <t:button action="demo_remove" iconCls="icon-remove" buttonName="删除" onclick="sy_removeGridFun_tip('/demo/delete')"/>
</div>
</body>
</html>



